
<?php
include '../base/validateAdminLogin.php';
include '../class/MMysql.php';

$message_id= $_GET['like_id'];
$mysql = new MMysql();

$message = $mysql
    ->where(array('like_id'=>$message_id))
    ->select('likes');
?>

<?php
include '../base/layout.php';
?>

<style>
    .magin_left{
        margin-top: 20px;
        margin-left: 50px;
    }
</style>

<body>

<?php
include '../base/header.php';
?>

<section style="width: 100%;">

    <?php
    include '../base/sidemenu.php';
    ?>

    <aside class="content">

        <div style="margin-top: 20px;position: relative;">

            <div style="height: 20px;">

            </div>

            <span class="magin_left" style="font-size: 40px;">
                Requests LIKE
            </span>

            <div class="magin_left">
                <span class="user_info_span">
                  Full name
                </span>
                <?php
                echo '<input class="user_info_input" type="text" value="'.$message[0]['like_fullname'].'">';
                ?>

            </div>

            <div class="magin_left">
                <span class="user_info_span">
                   Email
                </span>
                <?php
                echo '<input class="user_info_input" type="text" value="'.$message[0]['like_email'].'">';
                ?>

            </div>

            <div class="magin_left">
                <span class="user_info_span">
                    Tel
                </span>
                <?php
                echo '<input class="user_info_input" type="text" value="'.$message[0]['like_tel'].'">';
                ?>

            </div>

            <div class="magin_left">
                <span class="user_info_span">
                   Wechat
                </span>
                <?php
                echo '<input class="user_info_input" type="text" value="'.$message[0]['like_wechat'].'">';
                ?>

            </div>

            <div class="magin_left">
                <span class="user_info_span">
                   Address
                </span>
                <br>
                <br>
                <?php

                echo '<input class="user_info_input" type="text" value="'.$message[0]['like_address'].'">';
                ?>

            </div>

        </div>

    </aside>

</section>

</body>
</html>

<script type="text/javascript">
    $(function () {
        $(".menu").height($('.content').height());
    });
</script>

